function showEdit(id) {
	var element = document.getElementById(id + "ip");
	var editElement = document.createElement("li");
	var ipId = element.title
	var ip = element.getElementsByTagName("td")[1].firstChild.data;
	editElement.innerHTML = "<ul style='width:143px; margin-left:100px; text-align:center'><form action='admin-editIP.htm' method='post'><input type='hidden' name='id' value='"
			+ ipId
			+ "' /><li><input type='text' style='width:120px' name='ipAddress' value='"
			+ ip
			+ "'/></li><li><input type='submit' value='提交更改' style='font-size:11px' /></li></form></ul>";
	element.appendChild(editElement)
}

function deleteIp(id) {
	if(confirm("确认删除？")){
		var form = document.createElement("form");
		form.action = "admin-deleteIPEntityById.htm";
		form.method="post";
		form.innerHTML = "<input type='hidden' value='" + id + "' name='id'/>"
		form.submit();
	} else {
		return
	}
}